<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>编辑收获地址 - {$config.WEB_SITE_TITLE}</title>
    <script src="__PUBLIC__/Home/js/adaptive.js"></script>
    <script src="__PUBLIC__/Home/js/device.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/reset.css">
    <link rel="stylesheet" href="__PUBLIC__/Home/css/con-header.css">
    <script src="__PUBLIC__/Home/js/mui.min.js"></script>
    <link href="__PUBLIC__/Home/css/mui.min.css" rel="stylesheet"/>

    <style>
        h4,h5{margin-top: 0px;margin-bottom: 0px;}
        input::-webkit-input-placeholder,
        textarea::-webkit-input-placeholder {
            color: #9B9B9B;font-size: 0.3rem;
        }

        .content{width: 7.5rem;height: auto;margin: 0 auto;background: #F0F0F0;margin-top: 0.88rem;}
        .top a{position: absolute;right: 0.3rem;bottom: 0.1rem;color: #fff;}


        .xiugai{width: 100%;height: auto;padding: 0px 0.2rem;background: #fff}
        .xiugai li{width: 100%;height: 0.9rem;border-bottom: 1px solid #DEDEDE;color: #4A4A4A;line-height: 0.9rem;position: relative;font-size: 0.32rem;}
        .xiugai li input{width: 5.5rem;height: 0.8rem;border: none;outline: none;position: absolute;left: 1.5rem;text-align: right }
        .xiugai li:nth-child(4){border-bottom: none;height: 2rem;position: relative}
        .xiugai li:nth-child(3) span{float: right;font-size: 0.3rem;color: #999}
        .xiugai li:nth-child(3) span img{width: 0.2rem;height: 0.3rem;margin-left: 0.1rem;position: relative;top: 0.05rem;}
        .xiugai li textarea{width: 100%;height: 2rem;resize: none;border: none;position: absolute;top: 0px;}

        .shanchu{width: 100%;height: 0.9rem;color: #333;line-height: 0.9rem;padding-left: 0.2rem;font-size: 0.34rem;display: block;margin-top: 0.2rem;
            background: #fff}
        .shanchu a{float: right}

        button{width: 90%;height: 0.9rem;border-radius: 0.5rem;text-align: center;background: #19B7BE;color: #fff;font-size: 0.32rem;margin-top: 1rem;}


        .advice{height: 0.4rem;width: 0.4rem;display: inline-block;margin-right: 0.2rem;
            background-image: url("__PUBLIC__/Home/img/p-shdz.png");
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            vertical-align: middle;
            margin-top: -4px;
            border-radius: 0.05rem;
        }
        input[type="checkbox"]:checked + .advice{
            height: 0.4rem;width: 0.4rem;
            background-image: url("__PUBLIC__/Home/img/p-shdz2.png");
            border-radius: 0.1rem;
        }
    </style>
</head>
<body>
<div class="content">
    <div class="top">
        <h4>编辑地址</h4>
        <span class="back"></span>
    </div>
    <form action="" method="post">
    <ul class="xiugai">
        <li>收货人 <input type="text" value="{$detail.accept}" name="accept" ></li>
        <li>联系方式 <input type="text" value="{$detail.tel}" name="tel"></li>
        <li>所在地区 <span>请选择 <img src="__PUBLIC__/Home/img/back-right.png" alt=""></span></li>
        <li><textarea name="detail" id="" cols="30" rows="10" placeholder="详细地址">{$detail.detail}
        </textarea></li>

    </ul>
    <input type="hidden" name="id" value="{$detail.id}">
    <button class="juzhong" type="submit">确认保存</button>
</form>
</div>
<script src="__PUBLIC__/Home/js/jquery-1.11.1.js"></script>
<script>
    $(".back").click(function () {
        window.history.back(-1);
    })




</script>
</body>
</html>